<template>
  <view>
<view class="fill" :style="{ height: Height + 'px' }"></view>
  </view>
</template>

<script setup>
import { ref } from 'vue'
import { getstatusBarHeight,getNavBarHeight } from '@/utils/system.js';

const {topHeight} = defineProps({
	topHeight:{
		type:String,
		default:'overButton'
	}
})
const Height = ref(null)
if(topHeight==='toButton') Height.value=getstatusBarHeight()
else Height.value = getNavBarHeight()
</script>
<style scoped lang="scss"></style>
<style></style>